<?php
defined("_VALID_ACCESS") || die('Direct access forbidden');
class Eyeworx_TimekeepingManager_RBO_Timekeeping extends RBO_Recordset {

    public function fields() {
        $fields = array();

        $contact = new RBO_Field_Text('Contact', 64);
        $contact->set_filter()->set_visible();
        $fields[] = $contact;

        $time_in = new RBO_Field_Text('Time In', 64);
        $time_in->set_filter()->set_visible();
        $fields[] = $time_in;

        $time_out = new RBO_Field_Text('Time Out', 64);
        $time_out->set_filter()->set_visible();
        $fields[] = $time_out;

        $duration = new RBO_Field_Text('Duration', 64);
        $duration->set_visible();
        $fields[] = $duration;

        return $fields;
    }

    public function table_name() {
        return 'eyeworx_timekeeping';
    }
}
?>